Skip to content

Conversation

@SylvainJuge
Copy link
Member

@SylvainJuge SylvainJuge commented Nov 26, 2025

Fixes #879 by adding explicit test of the upstream implementation.

  • add test for HTTP on the server-side
  • add test for messaging
  • Feature is already documented in "Migration", so no need to update
  • The otel.instrumentation.messaging.experimental.capture-headers configuration and related messaging.header. span attribute prefix is used and tested in the following messaging instrumentation, so we can assume it's supported:
    • aws-sdk (SQS) *
    • jms *
    • kafka
    • nats
    • pulsar
    • rabbitmq *
    • rocketmq
    • spring-jms
    • spring-rabbit

All the instrumentations marked with * are the ones that are originally supported for the classic agent.

@SylvainJuge SylvainJuge requested review from a team as code owners November 26, 2025 17:11
@SylvainJuge SylvainJuge self-assigned this Nov 26, 2025
import java.util.List;

public interface ElasticAttributes {
AttributeKey<Long> SELF_TIME = AttributeKey.longKey("elastic.span.self_time");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[for reviewer] no longer used, thus we can remove it.

@@ -1,48 +0,0 @@
### Breakdown metrics

Status: feature has been disabled and code is only kept for future reference.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[for reviewer] not relevant anymore, if the feature gets re-implemented in the future we'll re-implement it from scratch.

.start();
process.waitFor(5, TimeUnit.SECONDS);
return process.exitValue() == 0;
boolean processExit = process.waitFor(5, TimeUnit.SECONDS);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[for reviewer] fixing minor bug when trying to debug the remote app running in docker.


@RestController
@RequestMapping("/messages")
public class MessagingController {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[for reviewer] adding an HTTP controller to receive/send messages with JMS API.

@@ -0,0 +1,2 @@
# use an in-process activemq artemis instance
spring.artemis.mode=embedded
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[for reviewer] provides an in-process ActiveMQ Artemis instance, the implementation is provided by the artemis-jms-server dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Header capture

1 participant